import request from '@/utils/request'

// 查询我的综合得分列表
export function listMyComprehensive(query) {
  return request({
    url: '/gxs/MyComprehensive/list',
    method: 'get',
    params: query
  })
}

// 查询我的综合得分详细
export function getMyComprehensive(gxsAppraisalid) {
  return request({
    url: '/gxs/MyComprehensive/' + gxsAppraisalid,
    method: 'get'
  })
}

// 新增我的综合得分
export function addMyComprehensive(data) {
  return request({
    url: '/gxs/MyComprehensive',
    method: 'post',
    data: data
  })
}

// 修改我的综合得分
export function updateMyComprehensive(data) {
  return request({
    url: '/gxs/MyComprehensive',
    method: 'put',
    data: data
  })
}

// 删除我的综合得分
export function delMyComprehensive(gxsAppraisalid) {
  return request({
    url: '/gxs/MyComprehensive/' + gxsAppraisalid,
    method: 'delete'
  })
}


// 查询我的综合得分列表
export function MyList(query) {
  return request({
    url: '/gxs/MyComprehensive/MyList',
    method: 'get',
    params: query
  })
}
